home *** CD-ROM | disk | FTP | other *** search
- /* k 1003 21/08/90 */
- /* K 1012 01/11/90 */
- /* k 1015 14/11/90 */ /* new struct for HSID,parm */
- /* k 1016 21/11/90 */ /* new struct for image BIND */
- /* k 1020 09/01/91 */ /* new value flag prim */
- /* k 1022 19/01/91 */ /* new format PCID */
- /* k 0115 02/02/91 */
- /* k 0119 08/02/91 */
- struct rbs { /* RBS request */
- char hdr[3]; /* header */
- /* struct { 1012
- unsigned fmt:4; format 1012
- unsigned node:1; flag name node 1012
- unsigned area:1; flag name area 1012
- unsigned fid2:1; flag FID2 1012
- unsigned group:1; flag 8439-station 1012
- } format; 1012 */
- unsigned char format; /* @0119 */
- union { /* 1022 */
- char pcid[8]; /* PCID */
- struct { /* 1022 */
- char pcid1[4]; /* 1022 */
- char pcid2[4]; /* 1022 */
- } new; /* 1022 */
- } pc; /* 1022 */
- char inode[8]; /* origin node name */
- char dnode[8]; /* destination node name */
- union { /* 1015 */
- short hsid; /* local id (origin) 1015 */
- struct { /* 1015 */
- char hsid1; /* local id (origin)-byte 1 1015 */
- char hsid2; /* local id (origin)-byte 2 1015 */
- } new; /* 1015 */
- } hs; /* 1015 */
- unsigned char prim; /* *//* @0115 */
- unsigned char ludl; /* LU name length *//* @0115 */
- char ludn[8]; /* LU name (dest) */
- unsigned char luol; /* LU name length *//* @0115 */
- char luon[8]; /* LU name (origin) */
- union { /* 1015 */
- struct { /* 1015 */
- unsigned char parml; /* parameters length *//* @0115 */
- char parm; /* parameters */
- unsigned char crypl; /* crypt. length *//* @0115 */
- char cryp; /* crypt. */
- unsigned char idil; /* id initiator length *//* @0115 */
- char idi; /* id initiator */
- unsigned char usdl; /* user data length *//* @0115 */
- char usd; /* user data */
- struct imbind imb; /* bind image/name bind image 1016 */
- unsigned char flag1; /* flag1 *//* @0115 */
- unsigned char flag2; /* flag2 *//* @0115 */
- unsigned char flag3; /* flag3 *//* @0115 */
- } full; /* 1015 */
- struct { /* 1015 */
- unsigned char parml;/* @0115 */ /* parameters length 1015 */
- unsigned char crypl;/* @0115 */ /* crypt. length 1015 */
- unsigned char idil; /* @0115 */ /* id initiator length 1015 */
- unsigned char usdl; /* @0115 */ /* user data length 1015 */
- struct imbind imb; /* bind image/name bind image 1016 */
- unsigned char flag1;/* @0115 */ /* flag1 1015 */
- unsigned char flag2;/* @0115 */ /* flag2 1015 */
- unsigned char flag3;/* @0115 */ /* flag3 1015 */
- } use; /* 1015 */
- } parm; /* 1015 */
- };
- #define FMT0 0 /* format 0 1003 */
- #define FMT1 1 /* format 1 1003 */
- #define FMT2 2 /* format 2 1003 */
- #define FMT3 3 /* format 3 1003 */
- #define RBSPRIM 0x80 /* primary LU 1020 */
- #define RBSSEC 0x40 /* secondary LU 1020 */
- #define RBSLEN 120 /* RBS length 1016 */